package org.geek4j.base.ext.jackson.data.hibernate;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.datatype.hibernate5.Hibernate5Module;

/**
 * @author Geek4J
 * @since 2016年4月9日 上午13:02:19
 * @description HibernateAwareObjectMapper
 */
public class HibernateAwareObjectMapper extends ObjectMapper {

	private static final long serialVersionUID = -678178053565127373L;

	public HibernateAwareObjectMapper() {
		registerModule(new Hibernate5Module());
	}
}